﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace 飞扬seo项目
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            this.Text = "欢迎使用！";
            Label hy = new Label();
            hy.Text = "飞扬SEO自动化软件";
            hy.Size=new Size(150,50);
            hy.Location =new Point(100,100);
            this.Controls.Add(hy);
            Button yz = new Button();
            yz.Text = "验证";
            yz.Location = new Point(100,150);
            this.Controls.Add(yz);
            yz.Click += new System.EventHandler(this.yz_Click);
        }

        private void yz_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form2 gnform = new Form2();
            this.AddOwnedForm(gnform);
            gnform.Show();
        }
    }
}